package cn.iocoder.yudao.module.biz.convert.emergencyReservePlan;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.biz.controller.admin.emergencyReservePlan.vo.BizEmergencyReservePlanCreateReqVO;
import cn.iocoder.yudao.module.biz.controller.admin.emergencyReservePlan.vo.BizEmergencyReservePlanExcelVO;
import cn.iocoder.yudao.module.biz.controller.admin.emergencyReservePlan.vo.BizEmergencyReservePlanRespVO;
import cn.iocoder.yudao.module.biz.controller.admin.emergencyReservePlan.vo.BizEmergencyReservePlanUpdateReqVO;
import cn.iocoder.yudao.module.biz.dal.dataobject.emergencyReservePlan.BizEmergencyReservePlanDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 应急预案 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface BizEmergencyReservePlanConvert {

    BizEmergencyReservePlanConvert INSTANCE = Mappers.getMapper(BizEmergencyReservePlanConvert.class);

    BizEmergencyReservePlanDO convert(BizEmergencyReservePlanCreateReqVO bean);

    BizEmergencyReservePlanDO convert(BizEmergencyReservePlanUpdateReqVO bean);

    BizEmergencyReservePlanRespVO convert(BizEmergencyReservePlanDO bean);

    List<BizEmergencyReservePlanRespVO> convertList(List<BizEmergencyReservePlanDO> list);

    PageResult<BizEmergencyReservePlanRespVO> convertPage(PageResult<BizEmergencyReservePlanDO> page);

    List<BizEmergencyReservePlanExcelVO> convertList02(List<BizEmergencyReservePlanDO> list);

}
